//
//  GSPeopleViewController.m
//  GameSky
//
//  Created by lanou on 16/1/21.
//  Copyright © 2016年 NiRongfei. All rights reserved.
//

#import "GSPeopleViewController.h"
#import <WebKit/WebKit.h>

@interface GSPeopleViewController ()

@property (nonatomic, strong)WKWebView *webView;

@end

@implementation GSPeopleViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // 夜间模式
    self.view.dk_backgroundColorPicker = DKColorWithRGB(0xffffff, 0x343434);

    self.webView = [[WKWebView alloc]initWithFrame:CGRectMake(0, 64, kScreenWidth, kScreenHeight - 64)];
    
    NSString *resourcePath = [ [NSBundle mainBundle] resourcePath];
    NSString *filePath  = [resourcePath stringByAppendingPathComponent:@"jobs.html"];
    
    NSString *htmlstring =[[NSString alloc] initWithContentsOfFile:filePath encoding:NSUTF8StringEncoding error:nil];
    
    
    [self.webView loadHTMLString:htmlstring  baseURL:[NSURL fileURLWithPath: [[NSBundle mainBundle]  bundlePath]]];
    
    [self.view addSubview:self.webView];
    
    
}



@end
